import request from '@/utils/requestMd5'

export function list(params) {
  return request({
    url: '/company/typeList',
    method: 'get',
    params
  })
}

//新增客户类型
export function addType(data) {
  return request({
    url: '/company/addType',
    method: 'post',
    data
  })
}

export function editType(data) {
  return request({
    url: '/company/editType',
    method: 'post',
    data
  })
}